Skip to content

Conversation

frostming
Copy link
Contributor

This patch resets the length_remaining attribute when replacing the resp._fp

Fixes #295

Signed-off-by: Frost Ming me@frostming.com

@frostming frostming force-pushed the frostming/issue295 branch from 1175a9e to 4c9347b Compare May 8, 2023 02:17
Fixes psf#295

Signed-off-by: Frost Ming <me@frostming.com>
@frostming frostming force-pushed the frostming/issue295 branch from 4c9347b to c676cda Compare May 25, 2023 03:22
@frostming frostming merged commit 6a74972 into psf:master May 29, 2023
@frostming frostming deleted the frostming/issue295 branch May 29, 2023 07:48
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

urllib3 2.0: Double reading causes IncompleteRead error
1 participant